<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>CP2130 Userspace Driver/Library: /home/rafael/Development/cp2130/src/cp2130.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CP2130 Userspace Driver/Library
   &#160;<span id="projectnumber">sv0a</span>
   </div>
   <div id="projectbrief">opensourceClibraryforusewiththecp2130usbtospibridge</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">cp2130.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="cp2130_8h_source.html">cp2130.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for cp2130.c:</div>
<div class="dyncontent">
<div class="center"><img src="cp2130_8c__incl.png" border="0" usemap="#_2home_2rafael_2Development_2cp2130_2src_2cp2130_8c" alt=""/></div>
<map name="_2home_2rafael_2Development_2cp2130_2src_2cp2130_8c" id="_2home_2rafael_2Development_2cp2130_2src_2cp2130_8c">
<area shape="rect" id="node2" href="cp2130_8h.html" title="cp2130.h" alt="" coords="326,95,401,121"/>
<area shape="rect" id="node8" href="debug__macros_8h.html" title="debug_macros.h" alt="" coords="512,169,631,196"/>
<area shape="rect" id="node9" href="utils_8h.html" title="utils.h" alt="" coords="655,169,712,196"/>
</map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a097a700eac6e0e600315630dcf5c9ce2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a097a700eac6e0e600315630dcf5c9ce2">cp2130_init</a> (libusb_context *ctx, uint16_t usVid, uint16_t usPid)</td></tr>
<tr class="memdesc:a097a700eac6e0e600315630dcf5c9ce2"><td class="mdescLeft">&#160;</td><td class="mdescRight">brief  <a href="#a097a700eac6e0e600315630dcf5c9ce2">More...</a><br /></td></tr>
<tr class="separator:a097a700eac6e0e600315630dcf5c9ce2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af475b4cfd5a6261302154a0fbc877330"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#af475b4cfd5a6261302154a0fbc877330">cp2130_free</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev)</td></tr>
<tr class="separator:af475b4cfd5a6261302154a0fbc877330"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad711d28aa18634f233137b9d8519d89f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#ad711d28aa18634f233137b9d8519d89f">cp2130_spi_transfer</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t *pubData, uint32_t ulLen)</td></tr>
<tr class="separator:ad711d28aa18634f233137b9d8519d89f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77e604d1dd146fa5888431765affc3fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a77e604d1dd146fa5888431765affc3fa">cp2130_spi_write</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t *pubData, uint32_t ulLen)</td></tr>
<tr class="separator:a77e604d1dd146fa5888431765affc3fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa546b24d919e63e12446b9bcf4009fcd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#aa546b24d919e63e12446b9bcf4009fcd">cp2130_spi_read</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t *pubData, uint32_t ulLen)</td></tr>
<tr class="separator:aa546b24d919e63e12446b9bcf4009fcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8825e5d9cce98c53e23ba6a81125841"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#af8825e5d9cce98c53e23ba6a81125841">cp2130_spi_read_rtr</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t *pubData, uint32_t ulLen)</td></tr>
<tr class="separator:af8825e5d9cce98c53e23ba6a81125841"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa71815c7321a6ecfea39cae8bf71ca0a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#aa71815c7321a6ecfea39cae8bf71ca0a">cp2130_reset</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev)</td></tr>
<tr class="separator:aa71815c7321a6ecfea39cae8bf71ca0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd29a39557015fcdc35a95b01a8d04aa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#acd29a39557015fcdc35a95b01a8d04aa">cp2130_get_clockdiv</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t *pubClockDiv)</td></tr>
<tr class="separator:acd29a39557015fcdc35a95b01a8d04aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1058bdf86efe27e23c82e8dbba473354"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a1058bdf86efe27e23c82e8dbba473354">cp2130_set_clockdiv</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t ubClockDiv)</td></tr>
<tr class="separator:a1058bdf86efe27e23c82e8dbba473354"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8d275b671cd7e61e2f0c7eb61ec4824"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#af8d275b671cd7e61e2f0c7eb61ec4824">cp2130_get_event_counter</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t *pubMode, uint16_t *pusCount)</td></tr>
<tr class="separator:af8d275b671cd7e61e2f0c7eb61ec4824"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06baa3e27553daa5e186187b2e4f7bb9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a06baa3e27553daa5e186187b2e4f7bb9">cp2130_set_event_counter</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t ubMode, uint16_t usCount)</td></tr>
<tr class="separator:a06baa3e27553daa5e186187b2e4f7bb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a941aac74f35e748d5871029cff1fe781"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a941aac74f35e748d5871029cff1fe781">cp2130_get_full_threshold</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t *pubThreshold)</td></tr>
<tr class="separator:a941aac74f35e748d5871029cff1fe781"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa07c1f7ddd5d9ee2de09e79244c354b2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#aa07c1f7ddd5d9ee2de09e79244c354b2">cp2130_set_full_threshold</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t ubThreshold)</td></tr>
<tr class="separator:aa07c1f7ddd5d9ee2de09e79244c354b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e201ae5300f6f4b9c30cd70e83872ae"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a4e201ae5300f6f4b9c30cd70e83872ae">cp2130_get_gpio_cs</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint16_t *pusCsEn, uint16_t *pusPinCsEn)</td></tr>
<tr class="separator:a4e201ae5300f6f4b9c30cd70e83872ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbe7dd2ca5dae825779e80172da91aad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#acbe7dd2ca5dae825779e80172da91aad">cp2130_set_gpio_cs</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t usCh, uint8_t usCtrl)</td></tr>
<tr class="separator:acbe7dd2ca5dae825779e80172da91aad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f0e046347e422c7a465ff6dd430f214"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a7f0e046347e422c7a465ff6dd430f214">cp2130_get_gpio_mode_level</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint16_t *pusLevel, uint16_t *pusMode)</td></tr>
<tr class="separator:a7f0e046347e422c7a465ff6dd430f214"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4c5130a12473a49fc51237768ef1737"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#af4c5130a12473a49fc51237768ef1737">cp2130_set_gpio_mode_level</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t ubIndex, uint8_t ubMode, uint8_t ubLevel)</td></tr>
<tr class="separator:af4c5130a12473a49fc51237768ef1737"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f05c8f044c556a2214b453d96898848"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a5f05c8f044c556a2214b453d96898848">cp2130_get_gpio_values</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint16_t *pusLevel)</td></tr>
<tr class="separator:a5f05c8f044c556a2214b453d96898848"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e440de1d7587633b53efd78ea2a200e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a4e440de1d7587633b53efd78ea2a200e">cp2130_set_gpio_values</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint16_t usLevel, uint16_t usMask)</td></tr>
<tr class="separator:a4e440de1d7587633b53efd78ea2a200e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a9b4cc7bd11d268c9eae782a10b5e30"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a2a9b4cc7bd11d268c9eae782a10b5e30">cp2130_get_rtr_state</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t *pubActive)</td></tr>
<tr class="separator:a2a9b4cc7bd11d268c9eae782a10b5e30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63898c5edcb5a594d1fba12fa910e259"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a63898c5edcb5a594d1fba12fa910e259">cp2130_set_rtr_stop</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t ubAbort)</td></tr>
<tr class="separator:a63898c5edcb5a594d1fba12fa910e259"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a317a62a11ea8f5d7aac75fad651e470a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a317a62a11ea8f5d7aac75fad651e470a">cp2130_get_spi_word</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t *pubChNword)</td></tr>
<tr class="separator:a317a62a11ea8f5d7aac75fad651e470a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6c8e834c6c46e819dacdaee16089295"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#ac6c8e834c6c46e819dacdaee16089295">cp2130_set_spi_word</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t ubCh, uint8_t ubChWord)</td></tr>
<tr class="separator:ac6c8e834c6c46e819dacdaee16089295"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08f702519e8035d30bd80239bdd274de"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a08f702519e8035d30bd80239bdd274de">cp2130_get_spi_delay</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t ubSpiCh, uint8_t *pubMask, uint16_t *pusInBDelay, uint16_t *pusPostDelay, uint16_t *pusPreDelay)</td></tr>
<tr class="separator:a08f702519e8035d30bd80239bdd274de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ca697400c907d88586d96ef91db2e85"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a7ca697400c907d88586d96ef91db2e85">cp2130_set_spi_delay</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t ubSpiCh, uint8_t ubMask, uint16_t usInBDelay, uint16_t usPostDelay, uint16_t usPreDelay)</td></tr>
<tr class="separator:a7ca697400c907d88586d96ef91db2e85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb9485f5990d6cc60f40a2cbe90f24f1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#acb9485f5990d6cc60f40a2cbe90f24f1">cp2130_get_version</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t *pubMajor, uint8_t *pubMinor)</td></tr>
<tr class="separator:acb9485f5990d6cc60f40a2cbe90f24f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfec5c5ed2d830891818aea650eeccb9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#abfec5c5ed2d830891818aea650eeccb9">cp2130_get_lock_byte</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint16_t *pusLock)</td></tr>
<tr class="separator:abfec5c5ed2d830891818aea650eeccb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a966e037b583da3cac2f684fe4f8d6b15"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a966e037b583da3cac2f684fe4f8d6b15">cp2130_set_lock_byte</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint16_t usLock)</td></tr>
<tr class="separator:a966e037b583da3cac2f684fe4f8d6b15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a762e30f5509eee0352cf7a80a2cab97f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a762e30f5509eee0352cf7a80a2cab97f">cp2130_get_manufacturer_string</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t *pubStr)</td></tr>
<tr class="separator:a762e30f5509eee0352cf7a80a2cab97f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a828e7dd5bd8b57ce00f9716ece17984f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a828e7dd5bd8b57ce00f9716ece17984f">cp2130_set_manufacturer_string</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t *pubStr)</td></tr>
<tr class="separator:a828e7dd5bd8b57ce00f9716ece17984f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a463f6fe2bc0a34142dcd65ae0aae93e3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a463f6fe2bc0a34142dcd65ae0aae93e3">cp2130_get_prod_string</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t *pubStr)</td></tr>
<tr class="separator:a463f6fe2bc0a34142dcd65ae0aae93e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b6b5e98b508e1d21e757d92d7ae4f62"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a6b6b5e98b508e1d21e757d92d7ae4f62">cp2130_set_prod_string</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t *pubStr)</td></tr>
<tr class="separator:a6b6b5e98b508e1d21e757d92d7ae4f62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6fb152e29ebc8c714d19fecaf05a127"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#ab6fb152e29ebc8c714d19fecaf05a127">cp2130_get_serial</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t *pubStr)</td></tr>
<tr class="separator:ab6fb152e29ebc8c714d19fecaf05a127"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3543d368bdf5676b1abe1039a07cb64b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a3543d368bdf5676b1abe1039a07cb64b">cp2130_set_serial</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t *pubStr)</td></tr>
<tr class="separator:a3543d368bdf5676b1abe1039a07cb64b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8ff9477b62e79365d6e27e0df16acf5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#af8ff9477b62e79365d6e27e0df16acf5">cp2130_get_pin_cfg</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t *pubPinCfg)</td></tr>
<tr class="separator:af8ff9477b62e79365d6e27e0df16acf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af553f9ba4c6c5f28c1975cfe0b20c3f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#af553f9ba4c6c5f28c1975cfe0b20c3f4">cp2130_set_pin_cfg</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t *pubPinCfg)</td></tr>
<tr class="separator:af553f9ba4c6c5f28c1975cfe0b20c3f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4774bbebc24b82afb13f0a5290d4b18c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a4774bbebc24b82afb13f0a5290d4b18c">cp2130_get_prom_cfg</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t ubBlkIndex, uint8_t *pubBlk)</td></tr>
<tr class="separator:a4774bbebc24b82afb13f0a5290d4b18c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae10ab865460eb84fdde73743c4979f99"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#ae10ab865460eb84fdde73743c4979f99">cp2130_set_prom_cfg</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint8_t ubBlkIndex, uint8_t *pubBlk)</td></tr>
<tr class="separator:ae10ab865460eb84fdde73743c4979f99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e4cf16db0c03c13f3dde1f35586ed53"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#a9e4cf16db0c03c13f3dde1f35586ed53">cp2130_get_usb_cfg</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint16_t *pusVid, uint16_t *pusPid, uint8_t *pubMaxPow, uint8_t *pubPowMode, uint8_t *pubMajorRelease, uint8_t *pubMinorRelease, uint8_t *pubTransferPriority)</td></tr>
<tr class="separator:a9e4cf16db0c03c13f3dde1f35586ed53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5c61f903a6d81e7bc7198c82eefb6db"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cp2130_8c.html#ab5c61f903a6d81e7bc7198c82eefb6db">cp2130_set_usb_cfg</a> (<a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *pCpDev, uint16_t usVid, uint16_t usPid, uint8_t ubMaxPow, uint8_t ubPowMode, uint8_t ubMajorRelease, uint8_t ubMinorRelease, uint8_t ubTransferPriority, uint8_t ubMask)</td></tr>
<tr class="separator:ab5c61f903a6d81e7bc7198c82eefb6db"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="af475b4cfd5a6261302154a0fbc877330"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af475b4cfd5a6261302154a0fbc877330">&#9670;&nbsp;</a></span>cp2130_free()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_free </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="acd29a39557015fcdc35a95b01a8d04aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd29a39557015fcdc35a95b01a8d04aa">&#9670;&nbsp;</a></span>cp2130_get_clockdiv()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_get_clockdiv </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubClockDiv</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af8d275b671cd7e61e2f0c7eb61ec4824"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8d275b671cd7e61e2f0c7eb61ec4824">&#9670;&nbsp;</a></span>cp2130_get_event_counter()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_get_event_counter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubMode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t *&#160;</td>
          <td class="paramname"><em>pusCount</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a941aac74f35e748d5871029cff1fe781"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a941aac74f35e748d5871029cff1fe781">&#9670;&nbsp;</a></span>cp2130_get_full_threshold()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_get_full_threshold </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubThreshold</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a4e201ae5300f6f4b9c30cd70e83872ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e201ae5300f6f4b9c30cd70e83872ae">&#9670;&nbsp;</a></span>cp2130_get_gpio_cs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_get_gpio_cs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t *&#160;</td>
          <td class="paramname"><em>pusCsEn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t *&#160;</td>
          <td class="paramname"><em>pusPinCsEn</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a7f0e046347e422c7a465ff6dd430f214"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f0e046347e422c7a465ff6dd430f214">&#9670;&nbsp;</a></span>cp2130_get_gpio_mode_level()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_get_gpio_mode_level </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t *&#160;</td>
          <td class="paramname"><em>pusLevel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t *&#160;</td>
          <td class="paramname"><em>pusMode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5f05c8f044c556a2214b453d96898848"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f05c8f044c556a2214b453d96898848">&#9670;&nbsp;</a></span>cp2130_get_gpio_values()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_get_gpio_values </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t *&#160;</td>
          <td class="paramname"><em>pusLevel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="abfec5c5ed2d830891818aea650eeccb9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abfec5c5ed2d830891818aea650eeccb9">&#9670;&nbsp;</a></span>cp2130_get_lock_byte()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_get_lock_byte </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t *&#160;</td>
          <td class="paramname"><em>pusLock</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a762e30f5509eee0352cf7a80a2cab97f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a762e30f5509eee0352cf7a80a2cab97f">&#9670;&nbsp;</a></span>cp2130_get_manufacturer_string()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_get_manufacturer_string </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubStr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af8ff9477b62e79365d6e27e0df16acf5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8ff9477b62e79365d6e27e0df16acf5">&#9670;&nbsp;</a></span>cp2130_get_pin_cfg()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_get_pin_cfg </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubPinCfg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a463f6fe2bc0a34142dcd65ae0aae93e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a463f6fe2bc0a34142dcd65ae0aae93e3">&#9670;&nbsp;</a></span>cp2130_get_prod_string()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_get_prod_string </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubStr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a4774bbebc24b82afb13f0a5290d4b18c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4774bbebc24b82afb13f0a5290d4b18c">&#9670;&nbsp;</a></span>cp2130_get_prom_cfg()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_get_prom_cfg </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubBlkIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubBlk</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a2a9b4cc7bd11d268c9eae782a10b5e30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a9b4cc7bd11d268c9eae782a10b5e30">&#9670;&nbsp;</a></span>cp2130_get_rtr_state()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_get_rtr_state </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubActive</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab6fb152e29ebc8c714d19fecaf05a127"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6fb152e29ebc8c714d19fecaf05a127">&#9670;&nbsp;</a></span>cp2130_get_serial()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_get_serial </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubStr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a08f702519e8035d30bd80239bdd274de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08f702519e8035d30bd80239bdd274de">&#9670;&nbsp;</a></span>cp2130_get_spi_delay()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_get_spi_delay </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubSpiCh</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubMask</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t *&#160;</td>
          <td class="paramname"><em>pusInBDelay</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t *&#160;</td>
          <td class="paramname"><em>pusPostDelay</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t *&#160;</td>
          <td class="paramname"><em>pusPreDelay</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a317a62a11ea8f5d7aac75fad651e470a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a317a62a11ea8f5d7aac75fad651e470a">&#9670;&nbsp;</a></span>cp2130_get_spi_word()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_get_spi_word </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubChNword</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a9e4cf16db0c03c13f3dde1f35586ed53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e4cf16db0c03c13f3dde1f35586ed53">&#9670;&nbsp;</a></span>cp2130_get_usb_cfg()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_get_usb_cfg </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t *&#160;</td>
          <td class="paramname"><em>pusVid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t *&#160;</td>
          <td class="paramname"><em>pusPid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubMaxPow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubPowMode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubMajorRelease</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubMinorRelease</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubTransferPriority</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="acb9485f5990d6cc60f40a2cbe90f24f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb9485f5990d6cc60f40a2cbe90f24f1">&#9670;&nbsp;</a></span>cp2130_get_version()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_get_version </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubMajor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubMinor</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a097a700eac6e0e600315630dcf5c9ce2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a097a700eac6e0e600315630dcf5c9ce2">&#9670;&nbsp;</a></span>cp2130_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a>* cp2130_init </td>
          <td>(</td>
          <td class="paramtype">libusb_context *&#160;</td>
          <td class="paramname"><em>ctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>usVid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>usPid</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>brief </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ctx</td><td>libusb context pointer </td></tr>
    <tr><td class="paramname">usVid</td><td>open device with this vid </td></tr>
    <tr><td class="paramname">usPid</td><td>open device with this pid </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>cp2130_device_t* returns pointer to device handler on success, NULL on failure </dd></dl>

</div>
</div>
<a id="aa71815c7321a6ecfea39cae8bf71ca0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa71815c7321a6ecfea39cae8bf71ca0a">&#9670;&nbsp;</a></span>cp2130_reset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_reset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a1058bdf86efe27e23c82e8dbba473354"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1058bdf86efe27e23c82e8dbba473354">&#9670;&nbsp;</a></span>cp2130_set_clockdiv()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_set_clockdiv </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubClockDiv</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a06baa3e27553daa5e186187b2e4f7bb9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06baa3e27553daa5e186187b2e4f7bb9">&#9670;&nbsp;</a></span>cp2130_set_event_counter()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_set_event_counter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubMode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>usCount</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa07c1f7ddd5d9ee2de09e79244c354b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa07c1f7ddd5d9ee2de09e79244c354b2">&#9670;&nbsp;</a></span>cp2130_set_full_threshold()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_set_full_threshold </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubThreshold</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="acbe7dd2ca5dae825779e80172da91aad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acbe7dd2ca5dae825779e80172da91aad">&#9670;&nbsp;</a></span>cp2130_set_gpio_cs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_set_gpio_cs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>usCh</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>usCtrl</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af4c5130a12473a49fc51237768ef1737"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4c5130a12473a49fc51237768ef1737">&#9670;&nbsp;</a></span>cp2130_set_gpio_mode_level()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_set_gpio_mode_level </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubMode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubLevel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a4e440de1d7587633b53efd78ea2a200e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e440de1d7587633b53efd78ea2a200e">&#9670;&nbsp;</a></span>cp2130_set_gpio_values()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_set_gpio_values </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>usLevel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>usMask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a966e037b583da3cac2f684fe4f8d6b15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a966e037b583da3cac2f684fe4f8d6b15">&#9670;&nbsp;</a></span>cp2130_set_lock_byte()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_set_lock_byte </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>usLock</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a828e7dd5bd8b57ce00f9716ece17984f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a828e7dd5bd8b57ce00f9716ece17984f">&#9670;&nbsp;</a></span>cp2130_set_manufacturer_string()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_set_manufacturer_string </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubStr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af553f9ba4c6c5f28c1975cfe0b20c3f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af553f9ba4c6c5f28c1975cfe0b20c3f4">&#9670;&nbsp;</a></span>cp2130_set_pin_cfg()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_set_pin_cfg </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubPinCfg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a6b6b5e98b508e1d21e757d92d7ae4f62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b6b5e98b508e1d21e757d92d7ae4f62">&#9670;&nbsp;</a></span>cp2130_set_prod_string()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_set_prod_string </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubStr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae10ab865460eb84fdde73743c4979f99"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae10ab865460eb84fdde73743c4979f99">&#9670;&nbsp;</a></span>cp2130_set_prom_cfg()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_set_prom_cfg </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubBlkIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubBlk</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a63898c5edcb5a594d1fba12fa910e259"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63898c5edcb5a594d1fba12fa910e259">&#9670;&nbsp;</a></span>cp2130_set_rtr_stop()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_set_rtr_stop </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubAbort</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3543d368bdf5676b1abe1039a07cb64b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3543d368bdf5676b1abe1039a07cb64b">&#9670;&nbsp;</a></span>cp2130_set_serial()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_set_serial </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubStr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a7ca697400c907d88586d96ef91db2e85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ca697400c907d88586d96ef91db2e85">&#9670;&nbsp;</a></span>cp2130_set_spi_delay()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_set_spi_delay </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubSpiCh</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubMask</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>usInBDelay</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>usPostDelay</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>usPreDelay</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ac6c8e834c6c46e819dacdaee16089295"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6c8e834c6c46e819dacdaee16089295">&#9670;&nbsp;</a></span>cp2130_set_spi_word()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_set_spi_word </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubCh</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubChWord</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab5c61f903a6d81e7bc7198c82eefb6db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5c61f903a6d81e7bc7198c82eefb6db">&#9670;&nbsp;</a></span>cp2130_set_usb_cfg()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_set_usb_cfg </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>usVid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>usPid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubMaxPow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubPowMode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubMajorRelease</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubMinorRelease</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubTransferPriority</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ubMask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa546b24d919e63e12446b9bcf4009fcd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa546b24d919e63e12446b9bcf4009fcd">&#9670;&nbsp;</a></span>cp2130_spi_read()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_spi_read </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>ulLen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af8825e5d9cce98c53e23ba6a81125841"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8825e5d9cce98c53e23ba6a81125841">&#9670;&nbsp;</a></span>cp2130_spi_read_rtr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_spi_read_rtr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>ulLen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ad711d28aa18634f233137b9d8519d89f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad711d28aa18634f233137b9d8519d89f">&#9670;&nbsp;</a></span>cp2130_spi_transfer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_spi_transfer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>ulLen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a77e604d1dd146fa5888431765affc3fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77e604d1dd146fa5888431765affc3fa">&#9670;&nbsp;</a></span>cp2130_spi_write()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cp2130_spi_write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcp2130__device__t.html">cp2130_device_t</a> *&#160;</td>
          <td class="paramname"><em>pCpDev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pubData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>ulLen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
